package com.enbatis.mybatisplugs.base;

import com.enbatis.mybatisplugs.commons.annotation.PrimaryKey;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class Account {
    /**
     *主键
     */
    @PrimaryKey
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     *姓名
     */
    private String username;

    /**
     *企业ID
     */
    private Long companyId;
}
